package com.hmy.contract.bo.request.contract;

import com.hmy.ccp.common.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author seven.qi 齐胜南
 * @version 1.0
 * @description 创建合同入参
 * @date 2023/12/20 15:14
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("创建合同入参")
public class CreateContractBaseRequest extends BaseRequest {

    @ApiModelProperty("合同类型")
    @NotNull(message = "合同类型不能为空")
    private Integer type;

    /**
     * 合同业务类型
     */
    @ApiModelProperty("合同业务类型")
    private Integer businessType;
}
